package com.bkgy.controller.accident.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.bkgy.commom.model.QueryDTO;
import com.bkgy.controller.accident.entity.TAccident;
import com.bkgy.controller.accident.entity.dto.TAccidentDto;
import com.bkgy.sys.common.entity.ResultData;

public interface IAccidentService extends IService<TAccident> {
    public ResultData<String> saveAccident(TAccident tech);

    public ResultData<String> updateAccident(TAccident tech);

    public ResultData<Page<TAccident>> pageTech(QueryDTO<TAccidentDto> queryDTO);

    public ResultData<String> deleteAccident(Integer indocno);

    ResultData importantPoint(String beginDate, String endDate);
}
